package com.xdf.xzymanagementsystem.service;
import com.mybatisflex.core.service.IService;
import com.xdf.xzymanagementsystem.entity.GreyMain;
import com.xdf.xzymanagementsystem.entity.GreyMainDTO;
import com.xdf.xzymanagementsystem.entity.OrderMain;
import com.xdf.xzymanagementsystem.entity.OrderMainDTO;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Description : 服务层接口，由代码生成器自动生成
 * @Author : chanchaw
 * @Date : 2025-3-21 18:43:41
 */
public interface GreyMainService extends IService<GreyMain> {
    //=================以上是自动生成的代码，自定义代码请写在下面==================
    List<Map<String, Object>> selectAllDTO(Date sdate, Date edate, int flag);

    GreyMainDTO insertDTO(GreyMainDTO record) throws Exception;

    GreyMainDTO selectDTO(Integer id);

    GreyMainDTO updateDTO(GreyMainDTO record);

    void deleteByIds(List<Integer> ids);

    List<Map<String, Object>> selectInventory();
}